//
//  YWPatrolPicture.h
//  maintain
//
//  Created by Kyo on 16/2/23.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, YWPictureRecordType) {
    YWPictureRecordTypeMeterReading = 0, //抄表
    YWPictureRecordTypePatrol = 1, //巡更
    YWPictureRecordTypeNotice = 2, //公告
    YWPictureRecordTypeTempMission = 3, //通知
    YWPictureRecordTypeInspectionMission = 4, //巡查
    YWPictureRecordTypeAttendance = 5, //签到
};
typedef NS_ENUM(NSUInteger, YWPictureRecordUploadStatus) {
    YWPictureRecordUploadStatusNull = 0,
    YWPictureRecordUploadStatusSuccess = 1,
    YWPictureRecordUploadStatusFail = 2,
};
@interface YWPatrolPicture : NSObject

/**巡更点记录ID,或者抄表的记录ID*/
@property(nonatomic,copy)NSString *recordId;
/**图片Id*/
@property (nonatomic, copy) NSString* pictureId;
/**图片名称*/
@property (nonatomic, copy) NSString* pictureName;
/**大图的url*/
@property(nonatomic,copy)NSString *bigUrl;
/**小图的url*/
@property(nonatomic,copy)NSString *smallUrl;
/**是否本地图片*/
@property (nonatomic, assign) BOOL isLocalImage;
/**上传状态*/
@property (nonatomic, assign) YWPictureRecordUploadStatus uploadStatus;
/**图片类型（巡更，抄表）*/
@property(nonatomic,assign)YWPictureRecordType recordType;
@end
